<%@ page contentType="text/html; charset=euc-kr" %>
<%@ page import="dashboard.service.GetMessageService" %>
<%@ page import="dashboard.model.*" %>
<%@ page import="dashboard.service.*" %>
<%@ include file="../util/loginInfoCheck.jsp" %>

<%

	String viewPage = null;
	try{
		int messageId = Integer.parseInt(request.getParameter("messageId"));
		Message message = GetMessageService.getInstance().getMessage(messageId);
		viewPage = "./update_form_view.jsp";
		request.setAttribute("message", message);
	}catch (ServiceException ex){
		viewPage = "./message_not_found.jsp";
	}
	
%>
 
<jsp:forward page="<%= viewPage %>"/>

